package com.team5101.entity;

public class Order {
    private Integer id;

    private String orderCode;

    private String orderCreateTime;

    private String userName;

    private Double orderAccount;

    private String orderPhone;

    private Double userAccount;

    private String payMethod;

    private Integer cinemaShowCode;

    private Integer preferenceLevel;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getOrderCode() {
        return orderCode;
    }

    public void setOrderCode(String orderCode) {
        this.orderCode = orderCode == null ? null : orderCode.trim();
    }

    public String getOrderCreateTime() {
        return orderCreateTime;
    }

    public void setOrderCreateTime(String orderCreateTime) {
        this.orderCreateTime = orderCreateTime == null ? null : orderCreateTime.trim();
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName == null ? null : userName.trim();
    }

    public Double getOrderAccount() {
        return orderAccount;
    }

    public void setOrderAccount(Double orderAccount) {
        this.orderAccount = orderAccount;
    }

    public String getOrderPhone() {
        return orderPhone;
    }

    public void setOrderPhone(String orderPhone) {
        this.orderPhone = orderPhone == null ? null : orderPhone.trim();
    }

    public Double getUserAccount() {
        return userAccount;
    }

    public void setUserAccount(Double userAccount) {
        this.userAccount = userAccount;
    }

    public String getPayMethod() {
        return payMethod;
    }

    public void setPayMethod(String payMethod) {
        this.payMethod = payMethod == null ? null : payMethod.trim();
    }

    public Integer getCinemaShowCode() {
        return cinemaShowCode;
    }

    public void setCinemaShowCode(Integer cinemaShowCode) {
        this.cinemaShowCode = cinemaShowCode;
    }

    public Integer getPreferenceLevel() {
        return preferenceLevel;
    }

    public void setPreferenceLevel(Integer preferenceLevel) {
        this.preferenceLevel = preferenceLevel;
    }

    @Override
    public String toString() {
        return "Order{" +
                "id=" + id +
                ", orderCode='" + orderCode + '\'' +
                ", orderCreateTime='" + orderCreateTime + '\'' +
                ", userName='" + userName + '\'' +
                ", orderAccount=" + orderAccount +
                ", orderPhone='" + orderPhone + '\'' +
                ", userAccount=" + userAccount +
                ", payMethod='" + payMethod + '\'' +
                ", cinemaShowCode=" + cinemaShowCode +
                ", preferenceLevel=" + preferenceLevel +
                '}';
    }
}